package main

import (
	"log"
	"my-web-app/user"
	"net/http"
)

func main() {
	// user-controller
	user.UserAPI()

	// 启动HTTP服务器
	log.Println("Server is running on http://localhost:8081")
	if err := http.ListenAndServe(":8081", nil); err != nil {
		log.Fatal("ListenAndServe: ", err)
	}
}
